<!doctype html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="Mark Otto, Jacob Thornton, and Bootstrap contributors">
    <meta name="generator" content="Hugo 0.88.1">
    <title>Employee Page</title>
    <!-- <link rel="canonical" href="https://getbootstrap.com/docs/5.1/examples/dashboard/">-->
    <!-- Bootstrap core CSS -->
    <link th:href="@{/css/bootstrap.min.css}" rel="stylesheet">

    <style>
        .bd-placeholder-img {
            font-size: 1.125rem;
            text-anchor: middle;
            -webkit-user-select: none;
            -moz-user-select: none;
            user-select: none;
        }

        @media (min-width: 768px) {
            .bd-placeholder-img-lg {
                font-size: 3.5rem;
            }
        }
    </style>
    <!-- Custom styles for this template -->
    <link th:href="@{/css/dashboard.css}" rel="stylesheet">
</head>

<div th:insert="~{frontpage::headtop}"></div>

<body class="container-fluid">
    <div class="row">
        <div th:insert="~{frontpage::textmenu}"></div>

        <main class="col-md-9 ms-sm-auto col-lg-10 px-md-4">
<!--<div class="page" id="warp" >
    <div id="top_content">
        <div id="header">
            <div id="rightheader">
                <p class="title">
                    2022/1/7
                </p>
            </div>
            <div id="topheader">
                <h1 id="title">
                    <a href="#">main</a>
                </h1>
            </div>
            <div id="navigation"></div>
        </div>
        <div id="content">
            <p id="whereami"></p>
            <h1>
                添加员工信息
            </h1>

            <form th:action="@{/employee/save}" method="post"  enctype="multipart/form-data" >
                <div id="lists">
                    <div id="childlists">

                        <label for="fname">账号</label>
                        <input type="text" id="fname" name="name">
                        <br>
                        <label for="photo">头像</label>
                        <input type="file" width="" id="photo" name="img">
                        </br>
                        <label for="fsalary">工资</label>
                        <input type="text" id="fsalary" name="salary">
                        <div class="form-group">
                            <label class="chosedepart">选择部门</label>
                            <div class="chosetext">
                                <select  name="deid" >
                                    <option value="">所属部门</option>
                                    <option  value="1">人事部</option>
                                    <option  value="2">市场部</option>
                                    <option  value="3">运营部</option>
                                    <option  value="4">111</option>
                                    <option  value="5">222</option>
                                </select>
                            </div>
                        </div>
                        <br>
                        <label for="birth">生日</label>
                        <input type="text" id="birth" name="birthday" placeholder="填写格式：xxxx/xx/xx">
                        </br>
                        <tr>
                            <td valign="middle" align="right">
                                性别:
                            </td>
                            <td valign="middle" align="left">
                                男
                                <input type="radio" class="inputgri" name="gender" value="1" checked="checked"/>
                                女
                                <input type="radio" class="inputgri" name="gender" value="0"/>
                            </td>
                        </tr>
                        <br>
                        <label for="telephone">电话</label>
                        <input type="text" id="telephone" name="telephone">
                    </br>
                        <label for="email">邮件地址</label>
                        <input type="text" id="email" name="epemail">
                </div>
                <p>
                    <input type="submit" class="button" value="确认添加 &raquo;" />

                </p>
                </div>
            </form>

        </div>
        </div>
    </div>
    </div>
</body>
</html>-->


<!--            <h2>添加员工信息</h2>

              <from th:action="@{/employee/save}"  method="post"  enctype="multipart/form-data" >
                  <div class="table-responsive">
                   &lt;!&ndash; <table class="table table-striped table-sm">&ndash;&gt;
                &lt;!&ndash;<div id="lists">
                    <div id="childlists">&ndash;&gt;
                        <label for="fname">账号</label>
                        <input type="text" id="fname" name="name">
                        <br>
                        <label for="photo">头像</label>
                        <input type="file" width="" id="photo" name="img">
                        </br>
                        <label for="fsalary">工资</label>
                        <input type="text" id="fsalary" name="salary">
                        <div class="form-group">
                            <label class="chosedepart">选择部门</label>
                            <div class="chosetext">
                                <select  name="deid" >
                                    <option value="">所属部门</option>
                                    <option  value="1">人事部</option>
                                    <option  value="2">市场部</option>
                                    <option  value="3">运营部</option>
                                    <option  value="4">111</option>
                                    <option  value="5">222</option>
                                </select>
                            </div>
                        </div>
                        <br>
                        <label for="birth">生日</label>
                        <input type="text" id="birth" name="birthday" placeholder="填写格式：xxxx/xx/xx">
                        </br>
                        <tr>
                            <td valign="middle" align="right">
                                性别:
                            </td>
                            <td valign="middle" align="left">
                                男
                                <input type="radio" class="inputgri" name="gender" value="1" checked="checked"/>
                                女
                                <input type="radio" class="inputgri" name="gender" value="0"/>
                            </td>
                        </tr>
                        <br>
                        <label for="telephone">电话</label>
                        <input type="text" id="telephone" name="telephone">
                        </br>
                        <label for="email">邮件地址</label>
                        <input type="text" id="email" name="epemail">

                        <p>
                            <input type="submit" class="button" value="确认添加 &raquo;" />

                        </p>
                        <div id="footer">
                            <div id="footer_bg">
                                Personnel management procedures
                            </div>
                        </div>

                  </div>
            </from>-->
           <!-- </div>-->

            <div id="content">
                <p id="whereami"></p>
                <h1>
                    添加员工信息
                </h1>

                <form th:action="@{/employee/save}" method="post"  enctype="multipart/form-data" >
                    <div id="lists">
                        <div id="childlists">

                            <label for="fname">账号</label>
                            <input type="text" id="fname" name="name">
                            <br>
                            <label for="photo">头像</label>
                            <input type="file" width="" id="photo" name="img">
                            </br>
                            <label for="fsalary">工资</label>
                            <input type="text" id="fsalary" name="salary">
                            <div class="form-group">
                                <label class="chosedepart">选择部门</label>
                                <div class="chosetext">
                                    <select  name="deid" >
                                        <option value="">所属部门</option>
                                        <option  value="1">人事部</option>
                                        <option  value="2">市场部</option>
                                        <option  value="3">运营部</option>
                                        <option  value="4">111</option>
                                        <option  value="5">222</option>
                                    </select>
                                </div>
                            </div>
                            <br>
                            <label for="birth">生日</label>
                            <input type="text" id="birth" name="birthday" placeholder="填写格式：xxxx/xx/xx">
                            </br>
                            <tr>
                                <td valign="middle" align="right">
                                    性别:
                                </td>
                                <td valign="middle" align="left">
                                    男
                                    <input type="radio" class="inputgri" name="gender" value="1" checked="checked"/>
                                    女
                                    <input type="radio" class="inputgri" name="gender" value="0"/>
                                </td>
                            </tr>
                            <br>
                            <label for="telephone">电话</label>
                            <input type="text" id="telephone" name="telephone">
                            </br>
                            <label for="email">邮件地址</label>
                            <input type="text" id="email" name="epemail">
                        </div>
                        <p>
                            <input type="submit" class="button" value="确认添加 &raquo;" />

                        </p>
                    </div>
                </form>
            </div>

                     </main>
                    </div>
</body>
</html>